//调用接口配置文件
import { request } from 'config/request'

//城市与区域级联
export async function regionArea(params) {
    console.log(params)
    return request({
        url: `admin/qrcode/region/area/tree/get`,
        method: 'GET',
        data: params,
        headers:{
            "Content-type":"application/json",
        }
    });
};

//根据城市查询项目
export async function getProduct(params) {
    console.log(params)
    return request({
        url: `admin/qrcode/products/by-city`,
        method: 'GET',
        data: params,
        headers:{
            "Content-type":"application/json",
        }
    });
};

//分佣
export async function docentCommission(params) {
    // let id = params
    let querys = {
        id:params
    }
    // console.log(params)
    return request({
        url: `3rd/commission/transfer`,
        method: 'GET',
        data: querys,
        headers:{
            "Content-type":"application/json",
        }
    });
};







